/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.entity.juhe.usedcar;

import org.hibernate.validator.constraints.Length;

import com.server.common.persistence.DataEntity;

/**
 * 聚合二手车接口车辆系列数据Entity
 * @author 丁光彪
 * @version 2017-01-06
 */
public class JuheUsedcarSeries extends DataEntity<JuheUsedcarSeries> {
	
	private static final long serialVersionUID = 1L;
	protected String name;		// 名称
	protected String ppname;		// 系列的品牌名

	protected String brandId;

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public JuheUsedcarSeries() {
		super();
	}

	public JuheUsedcarSeries(String id){
		super(id);
	}

	@Length(min=1, max=100, message="名称长度必须介于 1 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=2, message="系列的品牌名长度必须介于 1 和 2 之间")
	public String getPpname() {
		return ppname;
	}

	public void setPpname(String ppname) {
		this.ppname = ppname;
	}
	
}